//导入工具类
import request from "@/utils/request";


//查询所有用户
export const getAllUsers = () =>{
    return request.get("/user");
}

//查询所有用户
export const getAllUser = (pageNum,pageSize) =>{
    let page = {
        pageNum:pageNum,
        pageSize:pageSize
    }
    return request.get("/user/page",page);
}